package com.hewanning.toy.play.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hewanning.toy.play.model.entity.User;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface UserMapper extends BaseMapper<User> {

    User selectByName(@Param("name") String name);

    User findByIdNotAndName(@Param("id")Integer id,@Param("name") String name);
}
